package com.examples.calendar.viewer.item;

import org.eclipse.swt.widgets.Item;

public class CalendarItem extends Item {

	CalendarControl parent;

	public CalendarItem(CalendarControl parent, String text, int style) {
		super(parent, style);
		this.parent = parent;
		this.setText(text);
		parent.addItem(this);
	}
}
